cmake_minimum_required(VERSION 3.1)

project(useGeometry)

if (CMAKE_HOST_WIN32)
    set(WINDOWS 1)
elseif (CMAKE_HOST_APPLE)
    set(MACOS 1)
elseif (CMAKE_HOST_UNIX)
    set(LINUX 1)
endif ()


if(MACOS)
include_directories("/usr/local/include/eigen3")
elseif(LIUNX)
find_package(Eigen3)
include_directories(EIGEN3_INCLUDE_DIR)
endif()


set(CMAKE_BUILD_TYPE "Debug")

add_executable(useGeometry useGeometry.cpp)

